package com.spring.bean.parsedoc.test.constructor;

/**
 * @ClassName: HelloBean
 * @Author: suncx
 * @CreateDate: 2020-03-23 16:53
 * @Description:
 */
public class HelloBean {
    private String hello1;
    private String hello2;
    public HelloBean(String hello1,String hello2) {
        this.hello1 = hello1;
        this.hello2= hello2;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("HelloBean{");
        sb.append("hello1='").append(hello1).append('\'');
        sb.append(", hello2='").append(hello2).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
